package com.cdie.myschool.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author 朱华扬
 * @date 2022/10/13 10:58
 * @Description
 */
@Data
@TableName(value = "classes")
public class ClassesData {
    @TableField(value = "id")
    private int id;      //主键

    @TableField(value = "class_code")
    private String classCode;       //班级编码

    @TableField(value = "class_name")
    private String className;       //班级名称

    @TableField(value = "department_code")
    private String departmentCode;  //院系所号

    @TableField(value = "major_code")
    private String majorCode;       //专业编码

    @TableField(value = "campus_area_code")
    private String campusAreaCode;    //校区号

    @TableField(value = "class_status")
    private Byte classStatus;       //是否可用

    @TableField(value = "timestamp")
    private Date timestamp;         //时间戳
}
